package abstractfactory.factory;

import abstractfactory.dao.AccessUser;
import abstractfactory.dao.IDepartment;
import abstractfactory.dao.IUser;
import abstractfactory.dao.SqlServerDepartment;

public class AccessFactory implements IFactory {

    @Override
    public IUser createUser() {
        return new AccessUser();
    }

    @Override
    public IDepartment createDepartment() {
        return new SqlServerDepartment();
    }
}
